import axios from 'axios'
 
const request = axios.create({
  baseURL:'http://dida100.com:8888',
  timeout:5000
})

request.interceptors.request.use(config=>{
  config.headers["Authorization"] = 'Bearer ' + sessionStorage.getItem("token")
  return config;
})
export default request;